//
//  OtherCollectionReusableView.m
//  BeautifulLockerRoom
//
//  Created by mac on 16/7/30.
//  Copyright © 2016年 Winny. All rights reserved.
//

#import "OtherCollectionReusableView.h"
#import "OtherView.h"

@implementation OtherCollectionReusableView

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        
    }
    return self;
}

-(void)setDataArray:(NSArray *)dataArray
{
    _dataArray = dataArray;
    OtherView * vc = [[OtherView alloc]initWithDataArray:dataArray];
    vc.frame = CGRectMake(0, 0, WINDOWWIDTH, vc.viewHeight);
    self.viewHeight = vc.viewHeight;
    [self addSubview:vc];
}

@end
